<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>FlyGreenwich's Aircraft</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
<%
if(session.getAttribute("admin_id")== null || session.getAttribute("admin_id").equals("")){
%>
window.location = "http://localhost:8080/FlyGreenwichAirline/admin/login.jsp";
<%}%>
</script>
</head>
<body>
<a name="top" id="top"></a>
<center>
	<jsp:include page="/WEB-INF/pages/admin_menu.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/pages/header.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/pages/admin_content.jsp"></jsp:include>
	<jsp:include page="/WEB-INF/pages/admin_sidebar.jsp"></jsp:include>
	<div id="mainbar">
    <%
	if(request.getAttribute("gotFlight")!=null){
		if(request.getAttribute("gotFlight").equals("yes")){
	%>
	<p> You had successful add the flight. </p>
	
		<% }else{ %>
	
	<p> This flight route is not available. Please add again with correct route. </p>
	
	<%}}%>
	
	<%if(request.getAttribute("add")!=null){
		if(request.getAttribute("add").equals("yes")){
		%>
		<p> You had successful add the user. </p>
		<%}} %>
    </div>
    <br><br><br><br><br><br><br><br><br><br>
	<jsp:include page="/WEB-INF/pages/footer.jsp"></jsp:include>
</center>
</body>
</html>
